package com.example.demo.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@TableName("prediction2")
@Data
public class Prediction2 {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("predict_time")  // 指定数据库字段名
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")  // 格式化返回的时间
    private Date predictTime;    // 属性名改为驼峰式
    private Float C;
    private Float Mn;
    private Float Si;
    private Float Cr;
    private Float Al;
    private Float Ni;
    private Float Mo;
    private Float V;
    private Float Nb;
    private Float B;
    private Float Ra;
    private Float pagb;
    private Float hapacket;
    private Float lapacket;
    private Float block;
    private Float subblock;
    private Float cjg;
}
